WooCommerce\Square\Gateway\API\Requests\Orders S

Total Complexity 29
Dependencies 16
Dependents 1
Total lines 310
Lines of code 143
Logical lines of code 103
Comment lines 86
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_api_line_items()
S
54 7 18
apply_taxes()
S
59 5 14
set_create_order_data()
S
51 3 24
get_product_line_items()
S
64 3 10
get_fee_line_items()
S
64 3 10
get_shipping_line_items()
S
64 3 10
get_order_taxes()
S
60 2 13
add_discount_order_data()
S
54 1 21
add_line_item_order_data()
S
54 1 20
__construct()
S
80 1 3